package com.db.stexchem.client.gui;

import java.awt.BorderLayout;
import javax.swing.JFrame;

import com.db.stexchem.client.Client;

/**
 * Main application window
 */
public class ClientFrame extends JFrame {

  public ClientFrame(OrderTableModel orderTableModel,
      ExecutionTableModel executionTableModel,
      final Client application) {
    super();
    setTitle("Client!");
    setSize(600, 400);

    getContentPane().add(
        new ClientPanel(orderTableModel,
            executionTableModel,
            application),
        BorderLayout.CENTER);
    setVisible(true);
  }
}